/**
 * @class FlatShadedMode
 * @brief Flat shaded render mode
 *
 * This mode displays the object as a solid and shaded object.
 * The brightness of each polygon depends on its angle torwards
 * the light source.
 *
 * @see IRenderMode
 * @author M. Caputo
 * @date 2010-03-26
 */

#ifndef FLATSHADED_MODE_H
#define FLATSHADED_MODE_H

#include "IRenderMode.h"

class FlatShadedMode : public IRenderMode
{
	Q_DECLARE_TR_FUNCTIONS(FlatShadedMode)

public:

	QString name();
	void setSettings();
	void unsetSettings();
	void draw(IScene *scene, const QColor & defaultColor);
};

#endif
